home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 039a / pbmv1h.zip / MENU.DOC < prev    next >
Text File  |  1993-02-22  |  12KB  |  384 lines

  1. Author: Robert Piskac Jr.
  2.         301 South 27th Street
  3.         Lafayette, IN 47904 USA
  4.         PH# (317)-449-4018
  5.  
  6. This software is shareware.
  7.  
  8.          $79.95 Software Price per File Server
  9.            6.00 Tax
  10.         ------------
  11.          $85.95 Total  USA
  12.  
  13. Make check out to -> Piskac Bakery Software and send to the following Address
  14.  
  15.        Piskac Bakery Software
  16.        3376 East 65 th Street
  17.        Cleveland, OH 44127 USA
  18.  
  19. Support by E-Mail or US MAIL.  If you can catch me home, I will help out.
  20.  
  21. E-MAIL: AK371@CLEVELAND.FREENET.EDU
  22.  
  23.     Program: menu.exe
  24.     Version: V1.20 for Novell Netware 2.X 3.X
  25. Description: This is a menu program that supports about 95% of novells
  26.              menu script language.  I included the basic commands needed
  27.              to run applications from the menu. This is not Public Domain
  28.              Software. This program is not a Novell Clone program.
  29.  
  30.   Benefits: - Menu program is not memory resident when dos applications
  31.               are running.  Frees up needed memory.
  32.             - No more goXXX.bat & restart.XXX files being stored all over
  33.               the file server.  All batch files are stored in the directory
  34.               SYS:PUBLIC\BATCH\GOBAT which you can change this path.
  35.             - Menu program has security built in.  When the menu program
  36.               is idle for 5 minutes, the screen will blank.  When the user
  37.               touches a key, the menu program will require the user to enter
  38.               her/his password.  This can be turned on/off by the supervisor.
  39.             - Menu Items WILL NOW SCROLL
  40.  
  41. Restrictions: - You can only open 20 pop up menus on the screen at one time.
  42.               - Version 1.20 only supports 95% of Novell Script Language.
  43.               - You must have DOS 3.3 or above to use CALL DOS command.
  44.               - You MUST use the <CALL> command in the menu script for the
  45.                 menu program to restart if you are calling batch files outside
  46.                 the menu script. If you do not have DOS 3.3, you must not call
  47.                 batch files outside of the menu script.
  48.               - Menu positions are different. The menu positions are Y,X center
  49.                 positions on the screen 12,40 being the center of the screen.
  50.               - Some CGA video cards will cause snow on the screen.
  51.               - Only 35 Hot Keys are supported an * will appear on menu
  52.                 items that do not have a hot key.
  53.  
  54. Software Testing.
  55. All testing was done on a Novell Netware V3.11 single file server network.
  56. All programming was done at my friends office. Thanks ERIC for all the
  57. help and equipment.
  58.  
  59. If you register the software, I will send you notifications on all
  60. enhancements.  When you send in your check please tell me...
  61.  
  62.        Name of Person Registering Software
  63.        Address and Country
  64.        Phone Number
  65.  
  66. Installation
  67.  
  68. Step 1 : Create directory SYS:PUBLIC\BATCH\GOBAT
  69.  
  70.          You can use your own directory path, but remember to set it in
  71.          the <menu>.cfg file.
  72.          TEMP=SYS:<YOUR_DIRECTORY_PATH>
  73.  
  74. Step 2 : Start syscon and give the group everyone the following rights
  75.          to the newly created directory...
  76.          READ
  77.          FILE SCAN
  78.          CREATE
  79.          ERASE
  80.          MODIFY
  81.          WRITE
  82.  
  83. Step 3 : Add the following line to your system login script.
  84.          map root ins S4:FILE_SERVER_NAME/SYS:PUBLIC\BATCH\GOBAT
  85.                            or
  86.          map root ins S4:FILE_SERVER_NAME/<YOUR_CUSTOM_PATH>
  87.  
  88. Step 4 : Backup your old Novell menu program.
  89.  
  90. Step 5 : Copy the MENU.EXE, RESTART.BAT, !LOGOUT.BAT and PBMENU.CFG files to
  91.          the SYS:PUBLIC subdirectory.
  92.  
  93.  
  94. Step 6 : Test menu program. MAKE SURE IT WORKS.
  95.          ONE - One major problem you will have with the new menu system is that
  96.                the menu program will not start back up.  This problem can be
  97.                fixed by using the DOS <CALL> command in the menu script file.
  98.  
  99.          Any time you want to CALL a batch file from the menu script, use
  100.          the CALL command.
  101.  
  102.          TWO - Old goXXX.bat files will cause problems. Please use the kill.exe
  103.                program to scan file server to remove old files.  BE CAREFUL
  104.                first backup all files on server.  The program deletes all files
  105.                that look like goXXX.bat & restart.XXX.  Where X is a number.
  106.  
  107.          EXAMPLE
  108.  
  109.          KILL /all /Delete
  110.  
  111.          Type it exactly like you see it here.  KILL is case sensitive.
  112.  
  113.          use KILL /? for help.
  114.  
  115. The menu program has worked well for me on my Novell file server.  I am
  116. interested if anyone else can use it.
  117.  
  118. What is different?
  119.  
  120. Menu Positions are different.
  121.  
  122. %Main Menu,10,40,9
  123.  
  124. %<BANNER_NAME>,<Y_MENU_CENTER_VALUE>,<X_MENU_CENTER_VALUE>,<COLOR_PALETTE>
  125.                      0 -> 24                0 -> 79             0 -> 9
  126.  
  127. Color Palette Colors
  128. --------------------
  129. 0 -> Blue    Style 1
  130. 1 -> Blue    Style 2
  131. 2 -> Black   Style 1
  132. 3 -> Black   Style 2
  133. 4 -> Magenta
  134. 5 -> Cyan
  135. 6 -> Red
  136. 7 -> Orange
  137. 8 -> Green
  138. 9 -> Gray
  139.  
  140. If you are calling a batch file from the menu program and want the menu
  141. program to restart, use the CALL statement.
  142.  
  143. Example
  144. %MAIN MENU,10,40,0
  145. 1) Word Processor Example 1
  146.      CALL WP.BAT
  147. 2) Word Processor Example 2
  148.      REM this is the wp.bat file contents
  149.      REM %user% is a dos ENV variable set at login time
  150.      map ins s4:=data:apps\dos\wp
  151.      cd \users\%user%\wp
  152.      wp.exe
  153.      map del s4:
  154.      cd \users\%user%
  155.  
  156. This is useful if you do not want the menu program to restart.  Like when
  157. you want to logout of the network.  Write a batch file that will log you
  158. out of the network.
  159.  
  160. ======!LOGOUT.BAT======
  161. @ECHO OFF
  162. MAP F:=SYS:LOGIN > NUL
  163. F:
  164. LOGOUT
  165. ======END-OF-FILE=====
  166.  
  167. MENU SCRIPT EXAMPLE
  168.  
  169. %MAIN MENU,10,40,0
  170. 1) Word Processor Example 1
  171.      @ECHO OFF
  172.      CALL WP.BAT
  173. 2) Word Processor Example 2
  174.      @ECHO OFF
  175.      REM %user% is a dos ENV variable set at login time
  176.      map ins s4:=data:apps\dos\wp
  177.      cd \users\%user%\wp
  178.      wp.exe
  179.      map del s4:
  180.      cd \users\%user%
  181.  3) LOGOUT
  182.      @ECHO OFF
  183.      REM NETWORK MENU PROGRAM WILL NOT RESTART -- CALL NOT USED --
  184.      !LOGOUT.BAT
  185.  
  186. I do not support the !LOGOUT command. You must use the !LOGOUT.BAT file
  187. that comes with this software.
  188.  
  189. I also assume that you will number your menu selections starting at
  190. 1 thru Z.  That's the letter Z.  Or A thru Z. Novell will do a string search
  191. to find the name of the selection you are typing in.  I found that the number
  192. and letter labeling works best for my users.  I try to keep it simple.
  193.  
  194. You can use the AUTONUM parameter to auto number your menu selection. The
  195. SORT parameter will sort your menu entries.
  196.  
  197. You can use the LABEL parameter to set what type of labeling you want on
  198. the menu items. By default it is numbers 1 thru 9 ,A..Z.  Use....
  199.  
  200. LABEL=LETTERS
  201.  
  202. and the menu items will be A..Z.
  203.  
  204. If you want to know more about the menu program, please write me a letter
  205. or send me E-MAIL.
  206.  
  207. Netware is a Copyright of Novell
  208.  
  209.  
  210. Configuration files:
  211.  
  212. Each menu you have can have a <menu_name>.cfg file.  The configuration file
  213. will allow the LAN Manager to....
  214.  
  215. 1) Restrict what Novell user groups can exit the menu system.  Use multiple
  216.    exit lines for more than 1 novell User Group
  217.    Default -> EVERYONE
  218.    EXIT=ACAD
  219.    EXIT=MANAGERS
  220.  
  221. 2) Set where the go000.bat files are saved.
  222.    Default -> SYS:PUBLIC\BATCH\GOBAT
  223.    TEMP=SYS:PUBLIC\BATCH\GOBAT
  224.  
  225. 3) Set the screen saver time out
  226.    Default -> 5
  227.    TIMEOUT=5
  228.  
  229. 4) Set the Screen saver prompt. Use underscores for spaces.
  230.    Default -> PB Software Menu V1.15
  231.    PROMPT=MY_COMPANY_NAME
  232.  
  233. 5) Set the Logout command. Use !LOGOUT if you have a !LOGOUT.BAT file.
  234.    Default -> LOGOUT
  235.    LOGOUT=!LOGOUT
  236.  
  237. 6) Turn passwords off
  238.    Default -> ON
  239.    PASSWORD=OFF
  240.  
  241.    NOTE: If Passwords are TURNED ON, the menu program will only ask for the
  242.          passwords for users who's passwords minimum length is greater than
  243.          zero.  Use syscon to check the users account restrictions.
  244.  
  245. 7) Sort menu Items
  246.    Default = OFF
  247.    SORT=ON
  248.  
  249. 8) Auto Number menu items
  250.    Default = OFF
  251.    AUTONUM=ON
  252.  
  253. 9) Label menu Items
  254.    Default = Numbers
  255.    LABEL=LETTERS
  256.  
  257. EXAMPLE
  258.  
  259. If you type the following command the menu system works like this.
  260.  
  261. menu main
  262.  
  263. First it will try to read a file called => main.cfg
  264. If file not found it will read => pbmenu.cfg
  265. if it cannot find either of these 2 files it will use the default values.
  266.  
  267. MENU CONFIGURATION COMMANDS Examples
  268. =============== PBMENU.CFG =====================================
  269. PROMPT=MY_COMPANY_NAME
  270. EXIT=EVERYONE
  271. PASSWORD=ON
  272. TEMP=SYS:PUBLIC\BATCH\GOBAT
  273. TIMEOUT=1
  274. LOGOUT=LOGOUT
  275. SORT=ON
  276. AUTONUM=ON
  277. LABEL=NUMBERS
  278. =================================================================
  279.  
  280. memo.exe is a message program that will display a note on the screen
  281. for 1 week then it will not show the message.  Remember the program
  282. reads the date stamp. If your message will not display, it is because
  283. the file date stamp is over 7 days old. use the up carrot to blink text.
  284. memo.exe is public domain.
  285.  
  286. ======== message.txt =======
  287. Hello ^Everyone^
  288. ============================
  289.  
  290. The word Everyone will blink.
  291.  
  292. Restriction - Only a limited amount of text will display.
  293.  
  294. usage
  295.  
  296. memo <PATH> <FILENAME>
  297.  
  298. memo  SYS:PUBLIC    MESSAGE.TXT
  299. =================================================================
  300. lmenu.exe is a menu program for the local machine on the network or stand alone
  301. machine.  It is a stripped down version of the pbmenu V1.15.  This program
  302. can read the <menu>.mnu files and <menu>.cfg files.  This program is
  303. provided free of charge with the purchase of pbmenu V1.15.
  304.  
  305. Config File parameters
  306. =======================
  307.  
  308. 1) Set where the go000.bat files are saved.
  309.    Default -> C:\DOS\
  310.    TEMP=C:\MENU\
  311.  
  312.    NOTE: Be careful remember to put a backslash at the end of the temp path.
  313.  
  314.          Correct: TEMP=A:\TEMP\
  315.        InCorrect: TEMP=A:\TEMP
  316.  
  317. 2) Set the screen saver time out
  318.    Default -> 5
  319.    TIMEOUT=5
  320.  
  321. 3) Set the Screen saver prompt. Use underscores for spaces.
  322.    Default -> PB Software Menu V1.15
  323.    PROMPT=MY_COMPANY_NAME
  324.  
  325. 4) Sort menu Items
  326.    Default = OFF
  327.    SORT=ON
  328.  
  329. 5) Auto Number menu items
  330.    Default = OFF
  331.    AUTONUM=ON
  332.  
  333. 6) Label menu Items
  334.    Default = Numbers
  335.    LABEL=LETTERS
  336.  
  337. Here is how I use the 2 programs on my network.  In each PC Node on my
  338. network, I put the lmenu.exe file in the c:\menu subdirectory. At the end
  339. of the autoexec file I put the batch file to start the menu program. I
  340. renamed the lmenu.exe file to menu.exe.
  341.  
  342. ============= m.bat ===========
  343. @ECHO OFF
  344. c:
  345. cd \menu
  346. menu local.mnu
  347. =========== end ===============
  348.  
  349. Make sure that the m.bat file is in your path.
  350.  
  351. ======= local.mnu =============
  352. %Don's Computer,12,40,0
  353. 1) LAN (DON) Local Area Network
  354.         @ECHO OFF
  355.         REM Check to see if someone forgot to logout
  356.         REM If so log them out.
  357.         IF NOT EXIST F:LOGIN.EXE GOTO :LOGOUT
  358.         F:LOGIN DON
  359.         IF ERRORLEVEL 1 GOTO :RESTART
  360.         GOTO :END
  361.         :RESTART
  362.         pause
  363.         M.BAT
  364.         GOTO :END
  365.         :LOGOUT
  366.         REM I HAVE A BATCH FILE TO LOGOUT ON MY NETWORK
  367.         LOGOUT.BAT
  368.         :END
  369. 2) LAN Local Area Network
  370.         @ECHO OFF
  371.         IF NOT EXIST F:LOGIN.EXE GOTO :LOGOUT
  372.         F:LOGIN
  373.         IF ERRORLEVEL 1 GOTO :RESTART
  374.         GOTO :END
  375.         :RESTART
  376.         pause
  377.         M.BAT
  378.         GOTO :END
  379.         :LOGOUT
  380.         REM I HAVE A BATCH FILE TO LOGOUT ON MY NETWORK
  381.         LOGOUT.BAT
  382.         :END
  383. ====================================
  384.